package com.xmy.cultivate.entity;

import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableLogic;
import lombok.Data;

import java.io.Serializable;
import java.time.LocalDateTime;
import java.util.List;

/**
 * <p>
 * 
 * </p>
 *
 * @author min
 * @since 2022-12-27
 */
@Data
public class Track implements Serializable {

    private static final long serialVersionUID = 1L;

    private Long id;

    private Integer yearPart;

    private Integer quarterNum;

    private String name;

    /**
     * 1个人，2校区
     */
    private Integer type;

    /**
     * 1正常，0
     */
    private Integer status;

    /**
     * 排序
     */
    private Integer sort;

    /**
     * 分类：1是续班赛道，2是招生赛道
     */
    private Integer classify;

    private String yearClassIds;

    @TableLogic
    private Integer deleted;

    @TableField(fill = FieldFill.INSERT)
    private LocalDateTime createdAt;

    @TableField(exist = false)
    private List<Long> sourseIdList;
}
